package com.common.eunm;

public enum ExceptionCode {


    TOKEN_EXPIRE_EXEC(555, "token已失效"),
    USER_INFO_EXCE(556,"用户信息异常"),
    DENIED_ACCESS(557,"无权访问"),
    MENU_ITEM_ADD_EXCE(558,"菜单项下不能添加子菜单"),
    MENU_NAME_REPEAT(559,"同等级已存在当前菜单"),
    MENU_ITEM_IS_NULL(560,"查询菜单项为空!"),
    ;

    private Integer code;
    private String msg;

    ExceptionCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
